From: Florian Müllner Date: Thu, 27 Nov 2025 15:45:35 +0000 (+0100) Subject: test-tool: Add option to run without animations X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~44^2~70 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=53f8ed28324821e896704cf44675c62aa33c9267;p=gnome-shell.git test-tool: Add option to run without animations We currently force animations, so the test reflect the typical usage even in environments without hardware acceleration. However testing with animations disabled can be useful as well, so allow that with a CLI option. Part-of: --- diff --git a/src/gnome-shell-test-tool.in b/src/gnome-shell-test-tool.in index 43348f126..c6c31436b 100755 --- a/src/gnome-shell-test-tool.in +++ b/src/gnome-shell-test-tool.in @@ -61,7 +61,10 @@ def start_shell(xdg_home, wrap=None, perf_output=None): args.append('--automation-script') args.append(options.script) - args.append('--force-animations') + if options.disable_animations: + gsettings_config.add('org/gnome/desktop/interface', 'enable-animations', 'false') + else: + args.append('--force-animations') if options.devkit or options.headless: if options.devkit: @@ -234,6 +237,9 @@ parser.add_argument("--headless", action="store_true", parser.add_argument("--hotplug", action="store_true", help="Start without a virtual monitor attached") +parser.add_argument("--disable-animations", action="store_true", + help="Run with animations disabled") + options = parser.parse_args() if options.extra_filter is None: